*{
    margin: 0;
    padding: 0;
}
/* ========== 头部导航 ============== */
.header{
	width: 100%;
	height: 87px;
	background-color: #fff;
	/* background-color: aqua; */
}
.nav {
    height: 87px;
    width: 1190px;
    margin: 0 auto;
    /* background-color: white; */
    /* border: 1px solid rgb(230, 0, 0); */
}

.logo {
    float: left;
    display: block;
    margin-top: -15px;
    height: 82px;
    width: 158px;
}

.logoimg {
    height: 82px;

}

.title {
    float: left;
    height: 58px;
    width: 96px;
    padding: 35px 0 0 16px;
    margin-left: 35px;
    line-height: 40px;
    font-size: 21px;
}

.nav_r {
    width: 750px;
    height: 65px;
    float: right;
	/* margin-left: 105px; */
    margin-top: 5px;
    /* background-color: azure; */
}
/* ====== 搜索框 ====== */
.search {
    float: left;
    margin-top: 25px;
    /* background-color: black; */
    width: 500px;
    height: 40px;
}

.search_form {
    width: 500px;
    height: 40px;
    /* background-color: white; */
}

.sc-text {
    float: left;
    width: 400px;
    height: 24px;
    line-height: 24px;
    color: #666;
    padding: 4px;
    /* margin-bottom: 4px; */
    border-width: 2px 0 2px 2px;
    border-color: rgb(230, 0, 0);
    border-style: solid;
    outline: 0;
    font-size: 14px;
    font-family: "microsoft yahei";
}

.search_form button {
    float: left;
    width: 82px;
    height: 36px;
    background: rgb(230, 0, 0);
    border: none;
    border-radius: 0;
    line-height: 1;
    color: #fff;
    font-family: "Microsoft YaHei";
    font-size: 16px;
    cursor: pointer;
}
/* ====== 我的购物车 ======= */
.dropdown {
    position: relative;
    float: right;
    width: 141px;
    height: 34px;
    margin-top: 24px;
    border: 1px solid #DFDFDF;
    /* padding: 0 28px 0 36px; */
    background: #F9F9F9;
    text-align: center;
    margin-right: 60px;
}
.dropdown s{
    width: 16px;
    height: 18px;
    display: block;
    float: left;
    position: absolute;
    left: 25px;
    top: 8px;
    background: url(../images/allCoupon-quan-icons.png) -52px -192px;

}
.dropdown a{
    width: 60px;
    height: 16px;
    color: #666;
    display: block;
    text-decoration: none;
    font-size: 12px;
    position: absolute;
    float: left;
    top: 8px;
    left: 55px;
}

.dropdown:hover a{
    color: rgb(230, 0, 0);
	text-decoration: none;
}
/* =========================  中间导航栏 =========================== */
.nav-header{
    width: 100%;
    height: 35px;
    margin-top: 10px;
}
.w{
    width: 1190px;
    height: 100%;
    margin: 0 auto;
}
.cate-ul{
    width: 908px;
    height: 33px;
    float: left;
} 
.cate-ul .cate-item{
    display: block;
    width: 80px;
    height: 33px;
    line-height: 33px;
    text-align: center;
    padding: 0 19px;
    background-color: rgb(230, 0, 0);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}
/* =========================  优惠券主页 =============================== */
.main{
    width: 100%;
    height: auto;
    border-top: 2px solid rgb(230, 0, 0);
    font-family: "Microsoft YaHei";
}
.quan-h-wrap{
    width: 1190px;
    height: auto;
    margin: 0 auto;
}
.quan-top{
    width: 100%;
    height: 350px;
    padding-top: 30px;
    padding-bottom: 20px;
}
.quan-top .top-wrap{
    width: 100%;
    height: 100%;
}
.quan-top .top-wrap .top-lcol{
    width: 100%;
    height: 100%;
}
/* ===================  优惠券列表  =================== */
.quan-bottom{
    width: 100%;
    height: auto;
    margin-top: 20px;
}
.quan-content{
    width: 100%;
    height: auto;
}
/* ============  为你推荐好劵 ============ */
.cate-heading{
    width: 100%;
    height: 35px;
    margin: 20px auto;
    text-align: center;
}
.cate-heading .i1{
    display: inline-block;
    width: 35px;
    height: 18px;
    background: url(../images/allCoupon-hot-icons.png)0 0 no-repeat;
    overflow: hidden;
    vertical-align: middle;
}
.cate-heading h3{
    display: inline-block;
    /* width: 108px;
    height: 35px; */
    margin: 0 5px;
    color: #111;
    font-size: 18px;
    line-height: 35px;
    text-align: center;
    vertical-align:middle;
    font-weight: bold;
}
/* =============== 所有优惠券列表 ================ */
.cate-cont{
    width: 1215px;
    height: auto;
}
/* ===========  单优惠券 ================ */
.quan-item{
    position: relative;
    width: 378px;
    height: 145px;
    float: left;
    margin: 0 25px 20px 0;
    overflow: visible;
    border: 1px solid #f2f2f2;
    box-shadow: 0 10px 20px 0 rgb(0 0 0 / 4%);
}
/*-- ===========  商品图片 ========== */
.q-img{
    float: left;
    width: 104px;
    height: 104px;
    margin: 20px;
    border: 1px solid #f1f2f6;
    transition:all .2s ease-in-out,opacity 1s;
}
.q-img .product-img{
    display: inline-block;
    width: 100px;
    height: 100px;
    background: url(../images/allCoupon-product-img.jpg) no-repeat center center;
    background-size: 100%;
    vertical-align: middle;
}
.q-img:hover .product-img{
    margin-left: 2px;
    transition:all .2s ease-in-out,opacity 1s;
}
/* ========优惠券中间========== */
.q-type{
    width: 155px;
    height: 120px;
    padding: 10px 0 15px;
    float: left;
    color: #333;
    outline: 0;
}
.q-type .q-price{
    width: 170px;
    height: 45px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgb(230, 0, 0);
}
.q-price em{
    display: inline-block;
    font: 400 18px arial;
    vertical-align: top;
    margin: 3px 3px 0 0 ;
}
.q-price strong{
    font:400 34px arial;
    vertical-align: top;    
}
.q-price span{
    display: inline-block;
    font-size: 12px;
    margin: 12px 0 0 8px;
    vertical-align: top;
    padding: 0 5px;
    background: #fff4ec;
}
/* ====== 可叠加========= */
.q-type .q-range{
    width: 155px;
    height: 36px;
    line-height: 18px;
    font-size: 12px;
    font-weight: 700;
    margin:0 0 15px;
    cursor: default;
}
.rage-types{
    color: rgb(230, 0, 0);
    border: 1px solid rgb(230, 0, 0);
    padding: 0 4px;
}
.q-progress{
    width: 155px;
    height: 18px;
}
/* ============立即领取============= */
.cate-cont .quan-item .q-circle{
    width: 378px;
    height: 145px;
}
.cate-cont .quan-item i{
    position: absolute;   
    right: 42px;
    display:block;
    width: 18px;
    height: 9px;
    overflow: hidden;
    float: left;
    z-index: 3;
    background: url(../images/allCoupon-mid-circle.png) no-repeat;  
}
.cate-cont .quan-item .i2{
    background-position:  0 -9px;
    top: -1px;
}
.cate-cont .quan-item .i3{
    background-position: 0 0;
    bottom: -1px;
}
.q-ops-box .q-optns{
    width: 52px;
    height: 145px;
    position: absolute;
    right: 0;
    top: 0;
}
.q-ops-box .q-optns a{
    display: block;
    position: relative;
    width: 52px;
    height: 100%;
    line-height: 22px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    background-color: rgb(230, 0, 0);
}
.q-ops-box .q-optns a b{
    position: absolute;
    z-index: 2;
    top: 0;
    left: -1px;
    display: block;
    width: 3px;
    height: 100%;
    background: url(../images/allCoupon-small-circle.png)top left repeat-y;
}
.q-ops-box .q-optns a span{
    position: relative;
    top: 25px;
    width: 20px;
    margin:  0 auto;
    font-size: 16px;
    display: block;
    z-index: 1;
}

